<template>
  <div id="app">
    <router-view />
  </div>
</template>
<script>
export default {
  mounted() {
    // this.$router.onReady(() => {
    //   // this.$route.query.refreshToken
    //   console.log(1);
    //   console.log(this.$route.query.token);
    //   if (this.$route.query.token) {
    //     console.log(2);
    //     localStorage.setItem("access_token", this.$route.query.token);
    //   }
    // });
  },
};
</script>

<style lang="less">
html,
body {
  height: 100%;
  background: white;
}
#app {
  height: 100%;
  background: white;
}
</style>
